Hypothetical Updates, Priority and Inconsistency in a Logic Programming Language
نویسندگان
چکیده
1 I n t r o d u c t i o n In [8] we have proposed a logic p rog ramming language which suppor ts hypothe t ical updates together with integrity constraints. The language, called CondLP (Conditional Logic Programming), is an extension of N_Prolog [10, 7]. As in N_Prolog and in other similar logic p rog ramming languages [16, 15], Horn clause logic is extended to allow embedded implications bo th in goals and in clause bodies. In this paper we present a language, CondLP + which extends CondLP in m a n y different ways. Operat ional ly, in N_Prolog an embedded implicat ion D =~ G, where G is a goal and D is a set of clauses, succeeds f rom a p rogram P if G succeeds f rom the enlarged p rogram P U D. Hence, D can be regarded as an hypothet ica l upda te to the current program, tha t only affects the proof of G. As a difference with N_Prolog, in bo th CondLP and CondLP + a p rogram m a y contain integri ty constraints, and inconsistencies m a y arise, when updates are performed. In bo th languages we have a restriction on the allowed updates: in CondLP D is a single a tom, while in CondLP + D is a set of a toms. This work has been partially supported by ESPRIT Basic Research Project 6471, Medlar If.
منابع مشابه
Programming with Logical Queries, Bulk Updates, and Hypothetical Reasoning
This paper presents a language of update programs that integrates logical queries, bulk updates and hypothetical reasoning in a seamless manner. There is no syntactic or semantic distinction between queries and updates. Update programs extend logic programs with negation in both syntax and semantics. Users can specify bulk updates in which an arbitrary update is applied simultaneously for all a...
متن کاملUpdating Extended Logic Programs through Abduction
This paper introduces techniques for updating knowledge bases represented in extended logic programs. Three different types of updates, view updates, theory updates, and inconsistency removal, are considered. We formulate these updates through abduction, and provide methods for computing them with update programs. An update program is an extended logic program which specifies changes on abducti...
متن کاملJoint Tabling of Logic Program Abductions and Updates
Abductive logic programs offer a formalism to declaratively represent and reason about problems in a variety of areas: diagnosis, decision making, hypothetical reasoning, etc. On the other hand, logic program updates allow us to express knowledge changes, be they internal (or self) and external (or world) changes. Abductive logic programs and logic program updates thus naturally coexist in prob...
متن کاملImplementation of Delayed Updates in Heraclitus
The Heraclitus languages are database programming languages that give prominence to \delayed updates" or deltas, which are rst-class values representing sets of proposed updates, such as inserts and deletes, to the underlying persistent store. Deltas can be created, inspected and combined without committing to the given updates. Deltas are useful for realizing advanced database features that ma...
متن کاملInconsistency Management in Generalized Knowledge and Action Bases
The combination of static and dynamic aspects in modeling complex organizational domains is a challenging task that has led to study the combination of formalisms from knowledge representation, database theory, and process management [18,23,11]. Specifically, Knowledge and Action Bases (KABs) [3] have been put forward recently to provide a semantically rich representation of a domain. In KABs, ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1995